package com.xy.service;

import com.xy.model.User;


public interface UserService {
    /**
     *
     * @param user
     * @return
     */
    int addUser( User user);

    /**
     *
     * @param userid
     * @return
     */
    int delUser( Integer userid);

    /**
     *
     * @param username
     * @return
     */
    User getUserByName( String username);
}
